Intake wdl#53
Open
piotor87 wants to merge 10 commits into
Open
Conversation
vincent-octo
approved these changes
Jul 2, 2026
vincent-octo
left a comment
Contributor
There was a problem hiding this comment.
Looks good at this point. :)
I will add a command to run the whole thing end-to-end in order to keep the WDL small.
One thing we should discuss at some point: should we just keep _rowid_source instead of ROWID. The advantage of _rowid_source is that it's a direct lookup in the intermediate files generated.
vincent-octo
reviewed
Jul 2, 2026
Contributor
Author
|
These are the changes |
vincent-octo
reviewed
Jul 3, 2026
| args = init_cli() | ||
|
|
||
| output.check_safe_write(args.output_file) | ||
| output.check_safe_write(args.output_file.with_name(f"{args.output_file.stem}_duplicates.parquet")) |
Contributor
There was a problem hiding this comment.
This line
output.check_safe_write(args.output_file.with_name(f"{args.output_file.stem}_duplicates.parquet"))should also be added to
kanta_lab_preprocessing/src/kanta/intake/__main__.py
Lines 54 to 56 in 9bf7288
Contributor
Author
There was a problem hiding this comment.
Ok i can add it
output.check_safe_write(output_file_assemble_stage)
output.check_safe_write(output_file_tidyup_stage)
output.check_safe_write(
output_file_tidyup_stage.with_name(f"{output_file_tidyup_stage.stem}_duplicates.parquet")
)
Contributor
Author
|
I've also split the tsv generation in the wdl because it made sense structurally. Otherwise I think we're good to go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
_rowidtoROWIDsince it will be already that downstream anywaysintake.wdl/jsonto process the data and outputs parquet +tsv.gz file